<?php
	$this->beginWidget('zii.widgets.CPortlet', array(
		'title'=>"<center><b> GRAFIK HASIL BELAJAR  </b></center>",
	));
	
?>
      <?php foreach($dt as $d): ?>

       <?php 
           $a=$d['jawaban_soal'];
           $b=$d['nilai'];
       ?>
       <?php endforeach; ?>
      <?php $this->widget('chartjs.widgets.ChLine',
                array(
                  'width'=>1150,
                  'height'=>200,
                  'htmlOptions'=>array(),
                  'labels'=>array("","a","b","c","d","e","f",),
                  'datasets'=>array(
                      array(
                          "fillColor"=>"rgba(100,220,220,1)",
                          "strokeColor"=>"rgba(10,20,220,10)",
                          "pointColor"=>"rgba(0,220,20,1)",
                          "pointStrokeColor"=>"rgba(100,0,0,100)",
                          "data"=>array(0,12,20,10,15,7,18)
                             ),
                        
                  ),
                  'options'=>array(),  
                )            
          );      
      ?>
    
     

    <?php $this->endWidget();?>
